<?php //debug($cambioOrdenes);   ?>
<div class="grid12">
    <div class="widget">
        <div class="whead"><h6>Detalle de la orden</h6><div class="clear"></div></div>            
    <table cellpadding="0" cellspacing="0" width="100%" class="tAlt">    
        <tr>
            <td><b>Nombre</b></td>
            <td><b>Numero</b></td>
            <td><b>Volmen</b></td>
            <td><b>Monto</b></td>
            <td><b>original</b></td>
            <td><b>Copia</b></td>
        </tr>
        <?php foreach($reportes as $repor): ?>
        <tr>
            <td><?php echo $repor['ordenes']['nombre']; ?></td>
            <td><?php echo $repor['co']['numero']; ?></td>
            <td><?php echo $repor['co']['volumen']; ?></td>
            <td><?php echo $repor['co']['monto']; ?></td>
            <td> <?php
                if ($co['co']['original'] == 1)
                {
                    echo "SI";
                } else
                {
                    echo "NO";
                }
                ?></td>
            <td><?php
                if ($co['co']['copia'] == 1)
                {
                    echo "SI";
                } else
                {
                    echo "NO";
                }
                ?></td>
        </tr>
        <?php endforeach; ?>
</table>
</div> 
    </div>       
<div class="actions-right">
    <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Ordenes', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>